/**  
* @author hongchun.li  
* @date 2013-4-20 下午09:44:33
* @version V1.0  
*/ 
package com.apis.bussiness.entity.impl;



import java.util.Date;

import com.apis.bussiness.entity.IEnterprise;
import com.apis.bussiness.entity.IGoods;
import com.apis.bussiness.entity.IGoodsPurchase;
import com.apis.security.entity.IUser;
import com.apis.security.entity.impl.UserImpl;

/**
 * @author hongchun.li
 *
 */
public class GoodsPurchaseImpl implements IGoodsPurchase {
	private Integer id;
	private GoodsImpl goods;
	private int quality;
	private float unitPrice;
	private Date date;
	private UserImpl operator;
	
	@Override
	public Integer getId() {
		return id;
	}
	
	@Override	
	public void setId(Integer id) {
		this.id = id;
	}
	
	@Override
	public GoodsImpl getGoods() {
		return goods;
	}
	
	@Override	
	public void setGoods(GoodsImpl goods) {
		this.goods = goods;
	}

	@Override
	public int getQuality() {
		return quality;
	}
	
	@Override	
	public void setQuality(int quality) {
		this.quality = quality;
	}

	@Override
	public float getUnitPrice() {
		return unitPrice;
	}
	
	@Override
	public void setUnitPrice(float unitPrice) {
		this.unitPrice = unitPrice;
	}
	
	@Override
	public Date getDate() {
		return date;
	}
	
	@Override
	public void setDate(Date date) {
		this.date = date;
	}

	@Override
	public UserImpl getOperator() {
		return this.operator;
	}

	@Override
	public void setOperator(UserImpl user) {
		this.operator = user;
	}
}
